<template>
	<div>
		<timehead></timehead>
		<van-row>
			<back></back>
		</van-row>
		<van-row>
			<van-col :span="8" @click="isguanzhu">关注</van-col>
			<van-col :span="8" @click="isfensi">粉丝</van-col>
			<van-col :span="8" @click="isshoucang">收藏</van-col>
		</van-row>
		<div v-if="islike==1">
			关注
		</div>
		<div v-else-if="islike==2">
			粉丝
		</div>
		<div v-else-if="islike==3">
			收藏
		</div>
	</div>
</template>

<script>
	import timehead from '@/components/timehead.vue'
	import back from '@/components/back.vue'
	export default
	{
		data()
		{
			return{
				islike:0
			}
		},
		components:
		{
			back,
			timehead
		},
		created()
		{
			console.log(this.$router)
		},
		methods:
		{
			isguanzhu()
			{
				this.islike=1;
			},
			isfensi()
			{
				this.islike=2;
			},
			isshoucang()
			{
				this.islike=3;
			}
		}
	}
</script>

<style>
</style>
